package com.example.ana.aop.annotation;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @author hejianglong
 * @date 2019/11/14
 */
@Aspect
@Component
public class SystemArchitecture {

    @Pointcut("within(com.example.ana.web..*)")
    public void inWebLayer() {}

    @Pointcut("within(com.example.ana.service..*)")
    public void inServiceLayer() { }

    @Pointcut("execution(* com.example.ana.service.impl..*(..))")
    public void businessService() {}
}
